<?php 

	session_start();
	require_once "../common/PinSQL.obj";
	
	$username = $_SESSION['destuser'];
	$pinSQL = new PinSQL();
	
?>

<head>
	<link rel="stylesheet" type="text/css" href="profile_inner.css" />
</head>

<?php $context = "pictures page"; include "otheruser_returnheader.php" ?>

<div class="padded_text">

	<div class="head"><?php echo $username; ?>'s pictures</div>
	<img src="/img/arrow_blue.gif" /> <a href="/common/gallery/portal_pictures.php">Click here to go to the global pictures page</a>.
	<br />Note: All pictures open in an external window.
	<br />If you have trouble, please disable your pop-up blocker.
	
	<hr>

<?php

	$site_root = "../";

	require_once $site_root . "common/gallery/Gallery_new.obj";
	$pictureGallery = new PictureGallery();
	
	$pictureGallery->GenerateListPage($username);
	
?>


</div>